/*    */ package com.zimbra.cs.service.mail;
/*    */ 
/*    */ import com.zimbra.common.service.ServiceException;
/*    */ import com.zimbra.common.soap.Element;
/*    */ import com.zimbra.common.soap.MailConstants;
/*    */ import com.zimbra.cs.mailbox.Mailbox;
/*    */ import com.zimbra.cs.mailbox.OperationContext;
/*    */ import com.zimbra.soap.ZimbraSoapContext;
/*    */ import java.util.Map;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class EmptyDumpster
/*    */   extends MailDocumentHandler
/*    */ {
/*    */   public Element handle(Element request, Map<String, Object> context)
/*    */     throws ServiceException
/*    */   {
/* 34 */     ZimbraSoapContext zsc = getZimbraSoapContext(context);
/* 35 */     Mailbox mbox = getRequestedMailbox(zsc);
/* 36 */     OperationContext octxt = getOperationContext(zsc, context);
/* 37 */     mbox.emptyDumpster(octxt);
/* 38 */     Element response = zsc.createElement(MailConstants.EMPTY_DUMPSTER_RESPONSE);
/* 39 */     return response;
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/service/mail/EmptyDumpster.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */